-
Notifications
You must be signed in to change notification settings - Fork 308
feat(insights): conformance reports #2993
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
cprussin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, looks great!
apps/insights/src/components/ConformanceReport/conformance-report.module.scss
Outdated
Show resolved
Hide resolved
apps/insights/src/components/ConformanceReport/conformance-report.tsx
Outdated
Show resolved
Hide resolved
apps/insights/src/components/ConformanceReport/conformance-report.tsx
Outdated
Show resolved
Hide resolved
apps/insights/src/components/ConformanceReport/conformance-report.tsx
Outdated
Show resolved
Hide resolved
apps/insights/src/components/ConformanceReport/use-download-report-for-publisher.tsx
Outdated
Show resolved
Hide resolved
apps/insights/src/components/ConformanceReport/use-download-report-for-publisher.tsx
Outdated
Show resolved
Hide resolved
apps/insights/src/components/ConformanceReport/use-download-report-for-publisher.tsx
Show resolved
Hide resolved
| @@ -0,0 +1,37 @@ | |||
| import { z } from "zod"; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Personally I'm not a big fan of organizing files by the type of file, I prefer functional domain based organization; in particular I'd prefer (and expect) to find this scheme with the code that fetches the data that the schema validates.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed to a separate price-feeds-schema.ts file.
what if the schema is used in different places/files?
For example, we use the schema in api routes, pyth functions (eg. getFeeds()), http request functions, etc.
|
@cprussin addressed the comments, I'll merge this but happy to go be to this again in case you have more feedback |
Summary
Conformance reports for publishers and feeds.
Rationale
Adding missing conformance reports form the old legacy website.
How has this been tested?